<?php

$body = $_POST[body];

$email = 'lecimark@gmail.com';
$subject = "Bug report from Mark's Media Manager";
			$message =
				//use spans, not divs and don't float
			'

			<table class="mail" align="center">
	<tr>
		<td width="600" border="1px solid #E5ECBC" cellspacing="0" cellpadding="0" align="center" bgcolor="#212320" color="#E5ECBC">
			<font face="helvetica" color="#E5ECBC" size="4">
				<table>
					<font face="helvetica" color="#E5ECBC" size="4">
					<tr>
						<td></td>
					</tr>
					<tr>
						<td bgcolor="#212320"></td>
					</tr>
					<tr>
						<td align="center">
							<font face="helvetica" color="#E5ECBC" size="4"> 
								<br/>
								<p><font face="helvetica" color="#E5ECBC" size="4">Bug report from Mark\'s Media Manager
								</p></font>
								<p><font face="1942 report, helvetica" color="#E5ECBC" align="center"><br /></font></p>
								<p>
								'.$body.' 
								</p>

							</font>

						</td>
					</tr>
				</table>
			</font>
		</td>
	</tr>
</table>

'; 
$from = 'Quotation a Day <admin@quotationaday.com>';
$headers = "MIME-Version: 1.0" . "\n";
$headers .= "Content-type:text/html;charset=iso-8859-1" . "\n";
$headers .= "From: $from" . "\n";

$mail = mail($email,$subject,$message,$headers);
	
	if ($mail=='true')
	{
	echo "<p>bug report sent to administrator</p>";
	}


?>